package com.shudingke.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2022-06-29
 */
public class Address extends Model<Address> implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "aid", type = IdType.AUTO)
    private Integer aid;

    private Integer uid;

    private String name;

    @TableField("provinceName")
    private String provinceName;

    @TableField("provinceCode")
    private String provinceCode;

    @TableField("cityName")
    private String cityName;

    @TableField("cityCode")
    private String cityCode;

    @TableField("areaName")
    private String areaName;

    @TableField("areaCode")
    private String areaCode;

    private String zip;

    private String address;

    private String phone;

    private String tel;

    private String tag;

    @TableField("isDefault")
    private String isDefault;


    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    @Override
    public String toString() {
        return "Address{" +
        "aid=" + aid +
        ", uid=" + uid +
        ", name=" + name +
        ", provinceName=" + provinceName +
        ", provinceCode=" + provinceCode +
        ", cityName=" + cityName +
        ", cityCode=" + cityCode +
        ", areaName=" + areaName +
        ", areaCode=" + areaCode +
        ", zip=" + zip +
        ", address=" + address +
        ", phone=" + phone +
        ", tel=" + tel +
        ", tag=" + tag +
        ", isDefault=" + isDefault +
        "}";
    }
}
